<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <xsl:template match="/">
        <h4>Shipping Information</h4>
        <xsl:for-each select="Order">
            <table class="tblOrder">
                <tr>
                    <th>Order ID</th><td><xsl:value-of select="orderId"/></td>
                    <th>Order time</th><td><xsl:value-of select="orderTime"/></td>
                </tr>
                <tr>
                    <th>Receiver name</th><td><xsl:value-of select="name"/></td>
                    <th>Contact number</th><td><xsl:value-of select="phone"/></td>
                </tr>
                <tr>
                    <th>Shipping address</th><td><xsl:value-of select="address"/></td>
                    <th>City</th><td><xsl:value-of select="city"/></td>
                </tr>
            </table>
        </xsl:for-each>
        <h4>Order items</h4>
        <table class="tblCheckout order">
            <thead>
                <tr><th>No</th><th>Title</th><th>Quantity</th><th>Unit Price</th></tr>
            </thead>
                <tbody class="tblItems">
                    <xsl:for-each select="Order/orderDetails/orderDetail">
                    <tr>
                        <td><xsl:number/></td><td><xsl:value-of select="title"/></td><td><xsl:value-of select="quantity"/></td><td><xsl:value-of select="price"/></td></tr>
                    </xsl:for-each>
                </tbody>
        </table>
    </xsl:template>
</xsl:stylesheet>